@echo off
del %1.exe
rem link %1.obj /subsystem:windows /defaultlib:Kernel32_x64.lib /defaultlib:user32_x64.lib /entry:%1
link %1.obj /subsystem:windows /entry:%1